PATH = D:/share2/VC/bin/amd64
SRC=uart_tool
CC = $(PATH)/cl.exe
SDK_Version=10.0.14393.0
export include = D:\share2\VC\include;D:\share2\Windows Kits\10\Include\$(SDK_Version)\ucrt;D:\share2\Windows Kits\10\Include\$(SDK_Version)\um;D:\share2\Windows Kits\10\Include\$(SDK_Version)\winrt;D:\share2\Windows Kits\10\Include\$(SDK_Version)\shared;
export lib = D:\share2\Windows Kits\10\Include\$(SDK_Version)\shared;D:\share2\VC\lib\amd64;D:\share2\Windows Kits\10\Lib\$(SDK_Version)\ucrt\x64;D:\share2\Windows Kits\10\Lib\$(SDK_Version)\um\x64;
all:
	$(CC) $(SRC).c
	.\$(SRC).exe COM1 ..\software\build\riscv.bin 1